<%--
  Created by IntelliJ IDEA.
  User: kai
  Date: 2014/4/13
  Time: 16:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="bb" uri="http://kaibb.com/helloTag" %>
<html>
<head>
    <title>自定义tag标签(Redirect)</title>
</head>
<body>
    你好
    <% out.print("beforeTag");%>
    <%

       System.out.println("beforeTag");
    %>
<bb:redirect url="http://baidu.com"/>

<% out.print("afterTag");
    System.out.println("afterTag");
%>
</body>
</html>
